/**
 * Created by Weizehua on 2017/1/17.
 */

import {Singleton, Inject} from "../src/Injector";
import {SingletonA} from "./singleton_a";

@Singleton()
export class SingletonB {
    val = Math.random()
    @Inject(() => SingletonA)
    public sa: SingletonA;
}

